package xjtu.se.articlecommunity.buser.articlemanage.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import xjtu.se.articlecommunity.common.page.PageParam;

import java.util.Date;
import java.util.List;


@EqualsAndHashCode(callSuper = true)
@Data
public class articleDto extends PageParam {
    private String a_id;
    private String u_id;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date a_date;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date a_date_start;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date a_date_end;

    private Integer a_status;
    private String a_title;
    private String a_html;
    private List<String> at_list;
}
